package com.huawei.appgallery.assistantdock.gamemode.bean;

import com.huawei.appgallery.assistantdock.base.cardkit.bean.BuoyBaseCardBean;
import com.huawei.gamebox.plugin.gameservice.bean.GameInfo;
import o.big;
import o.Logger;
import o.fae;
import o.fam;

public class CombineBuoyEnterCardBeanBuoy extends BuoyBaseCardBean {
    private static final String TAG = "CombineBuoyEnterCardBeanBuoy";
    private boolean isOffline = false;

    public boolean ˋ(int i) {
        fae ˏ = fam.ॱ().ˏ();
        if (ˏ != null) {
            GameInfo gameInfo = ˏ.getGameInfo();
            if (gameInfo != null) {
                if (this.isOffline) {
                    if (big.ॱ(gameInfo)) {
                        return false;
                    }
                    return true;
                } else if (big.ˋ(gameInfo)) {
                    return false;
                } else {
                    return true;
                }
            }
        }
        Logger.e(TAG, "buoyBridge == null or gameInfo == null");
        return true;
    }

    public boolean ˊ() {
        return this.isOffline;
    }

    public void ˏ(boolean z) {
        this.isOffline = z;
    }
}
